﻿using System;
using System.Net;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;

namespace Charting
{

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name = "WorkflowSoap", Namespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/")]
    public partial class WorkflowSoapProxy : System.Web.Services.Protocols.SoapHttpClientProtocol
    {

        private System.Threading.SendOrPostCallback getToDosForItemOperationCompleted;

        private System.Threading.SendOrPostCallback getTemplatesForItemOperationCompleted;

        private System.Threading.SendOrPostCallback startWorkflowOperationCompleted;

        private System.Threading.SendOrPostCallback alterToDoOperationCompleted;

        private System.Threading.SendOrPostCallback getWorkflowDataForItemOperationCompleted;

        private System.Threading.SendOrPostCallback claimReleaseTaskOperationCompleted;

        private System.Threading.SendOrPostCallback getWorkflowTaskDataOperationCompleted;

        /// <remarks/>
        public WorkflowSoapProxy(string serverName)
        {
            Uri soapService = new Uri(serverName + "/_vti_bin/workflow.asmx");
            this.Url = soapService.ToString();
            this.Credentials = CredentialCache.DefaultNetworkCredentials;
        }

        /// <remarks/>
        public event GetToDosForItemCompletedEventHandler GetToDosForItemCompleted;

        /// <remarks/>
        public event GetTemplatesForItemCompletedEventHandler GetTemplatesForItemCompleted;

        /// <remarks/>
        public event StartWorkflowCompletedEventHandler StartWorkflowCompleted;

        /// <remarks/>
        public event AlterToDoCompletedEventHandler AlterToDoCompleted;

        /// <remarks/>
        public event GetWorkflowDataForItemCompletedEventHandler GetWorkflowDataForItemCompleted;

        /// <remarks/>
        public event ClaimReleaseTaskCompletedEventHandler ClaimReleaseTaskCompleted;

        /// <remarks/>
        public event GetWorkflowTaskDataCompletedEventHandler GetWorkflowTaskDataCompleted;

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/GetToDosForItem", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode GetToDosForItem(string item)
        {
            object[] results = this.Invoke("GetToDosForItem", new object[] {
                    item});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginGetToDosForItem(string item, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("GetToDosForItem", new object[] {
                    item}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndGetToDosForItem(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void GetToDosForItemAsync(string item)
        {
            this.GetToDosForItemAsync(item, null);
        }

        /// <remarks/>
        public void GetToDosForItemAsync(string item, object userState)
        {
            if ((this.getToDosForItemOperationCompleted == null))
            {
                this.getToDosForItemOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetToDosForItemOperationCompleted);
            }
            this.InvokeAsync("GetToDosForItem", new object[] {
                    item}, this.getToDosForItemOperationCompleted, userState);
        }

        private void OnGetToDosForItemOperationCompleted(object arg)
        {
            if ((this.GetToDosForItemCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetToDosForItemCompleted(this, new GetToDosForItemCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/GetTemplatesForItem", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode GetTemplatesForItem(string item)
        {
            object[] results = this.Invoke("GetTemplatesForItem", new object[] {
                    item});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginGetTemplatesForItem(string item, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("GetTemplatesForItem", new object[] {
                    item}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndGetTemplatesForItem(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void GetTemplatesForItemAsync(string item)
        {
            this.GetTemplatesForItemAsync(item, null);
        }

        /// <remarks/>
        public void GetTemplatesForItemAsync(string item, object userState)
        {
            if ((this.getTemplatesForItemOperationCompleted == null))
            {
                this.getTemplatesForItemOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTemplatesForItemOperationCompleted);
            }
            this.InvokeAsync("GetTemplatesForItem", new object[] {
                    item}, this.getTemplatesForItemOperationCompleted, userState);
        }

        private void OnGetTemplatesForItemOperationCompleted(object arg)
        {
            if ((this.GetTemplatesForItemCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetTemplatesForItemCompleted(this, new GetTemplatesForItemCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/StartWorkflow", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode StartWorkflow(string item, System.Guid templateId, System.Xml.XmlNode workflowParameters)
        {
            object[] results = this.Invoke("StartWorkflow", new object[] {
                    item,
                    templateId,
                    workflowParameters});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginStartWorkflow(string item, System.Guid templateId, System.Xml.XmlNode workflowParameters, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("StartWorkflow", new object[] {
                    item,
                    templateId,
                    workflowParameters}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndStartWorkflow(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void StartWorkflowAsync(string item, System.Guid templateId, System.Xml.XmlNode workflowParameters)
        {
            this.StartWorkflowAsync(item, templateId, workflowParameters, null);
        }

        /// <remarks/>
        public void StartWorkflowAsync(string item, System.Guid templateId, System.Xml.XmlNode workflowParameters, object userState)
        {
            if ((this.startWorkflowOperationCompleted == null))
            {
                this.startWorkflowOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStartWorkflowOperationCompleted);
            }
            this.InvokeAsync("StartWorkflow", new object[] {
                    item,
                    templateId,
                    workflowParameters}, this.startWorkflowOperationCompleted, userState);
        }

        private void OnStartWorkflowOperationCompleted(object arg)
        {
            if ((this.StartWorkflowCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.StartWorkflowCompleted(this, new StartWorkflowCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/AlterToDo", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode AlterToDo(string item, int todoId, System.Guid todoListId, System.Xml.XmlNode taskData)
        {
            object[] results = this.Invoke("AlterToDo", new object[] {
                    item,
                    todoId,
                    todoListId,
                    taskData});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginAlterToDo(string item, int todoId, System.Guid todoListId, System.Xml.XmlNode taskData, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("AlterToDo", new object[] {
                    item,
                    todoId,
                    todoListId,
                    taskData}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndAlterToDo(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void AlterToDoAsync(string item, int todoId, System.Guid todoListId, System.Xml.XmlNode taskData)
        {
            this.AlterToDoAsync(item, todoId, todoListId, taskData, null);
        }

        /// <remarks/>
        public void AlterToDoAsync(string item, int todoId, System.Guid todoListId, System.Xml.XmlNode taskData, object userState)
        {
            if ((this.alterToDoOperationCompleted == null))
            {
                this.alterToDoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAlterToDoOperationCompleted);
            }
            this.InvokeAsync("AlterToDo", new object[] {
                    item,
                    todoId,
                    todoListId,
                    taskData}, this.alterToDoOperationCompleted, userState);
        }

        private void OnAlterToDoOperationCompleted(object arg)
        {
            if ((this.AlterToDoCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AlterToDoCompleted(this, new AlterToDoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/GetWorkflowDataForItem", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode GetWorkflowDataForItem(string item)
        {
            object[] results = this.Invoke("GetWorkflowDataForItem", new object[] {
                    item});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginGetWorkflowDataForItem(string item, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("GetWorkflowDataForItem", new object[] {
                    item}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndGetWorkflowDataForItem(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void GetWorkflowDataForItemAsync(string item)
        {
            this.GetWorkflowDataForItemAsync(item, null);
        }

        /// <remarks/>
        public void GetWorkflowDataForItemAsync(string item, object userState)
        {
            if ((this.getWorkflowDataForItemOperationCompleted == null))
            {
                this.getWorkflowDataForItemOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWorkflowDataForItemOperationCompleted);
            }
            this.InvokeAsync("GetWorkflowDataForItem", new object[] {
                    item}, this.getWorkflowDataForItemOperationCompleted, userState);
        }

        private void OnGetWorkflowDataForItemOperationCompleted(object arg)
        {
            if ((this.GetWorkflowDataForItemCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetWorkflowDataForItemCompleted(this, new GetWorkflowDataForItemCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/ClaimReleaseTask", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode ClaimReleaseTask(string item, int taskId, System.Guid listId, bool claim)
        {
            object[] results = this.Invoke("ClaimReleaseTask", new object[] {
                    item,
                    taskId,
                    listId,
                    claim});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginClaimReleaseTask(string item, int taskId, System.Guid listId, bool claim, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("ClaimReleaseTask", new object[] {
                    item,
                    taskId,
                    listId,
                    claim}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndClaimReleaseTask(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void ClaimReleaseTaskAsync(string item, int taskId, System.Guid listId, bool claim)
        {
            this.ClaimReleaseTaskAsync(item, taskId, listId, claim, null);
        }

        /// <remarks/>
        public void ClaimReleaseTaskAsync(string item, int taskId, System.Guid listId, bool claim, object userState)
        {
            if ((this.claimReleaseTaskOperationCompleted == null))
            {
                this.claimReleaseTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnClaimReleaseTaskOperationCompleted);
            }
            this.InvokeAsync("ClaimReleaseTask", new object[] {
                    item,
                    taskId,
                    listId,
                    claim}, this.claimReleaseTaskOperationCompleted, userState);
        }

        private void OnClaimReleaseTaskOperationCompleted(object arg)
        {
            if ((this.ClaimReleaseTaskCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ClaimReleaseTaskCompleted(this, new ClaimReleaseTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/GetWorkflowTaskData", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/workflow/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Xml.XmlNode GetWorkflowTaskData(string item, int taskId, System.Guid listId)
        {
            object[] results = this.Invoke("GetWorkflowTaskData", new object[] {
                    item,
                    taskId,
                    listId});
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public System.IAsyncResult BeginGetWorkflowTaskData(string item, int taskId, System.Guid listId, System.AsyncCallback callback, object asyncState)
        {
            return this.BeginInvoke("GetWorkflowTaskData", new object[] {
                    item,
                    taskId,
                    listId}, callback, asyncState);
        }

        /// <remarks/>
        public System.Xml.XmlNode EndGetWorkflowTaskData(System.IAsyncResult asyncResult)
        {
            object[] results = this.EndInvoke(asyncResult);
            return ((System.Xml.XmlNode)(results[0]));
        }

        /// <remarks/>
        public void GetWorkflowTaskDataAsync(string item, int taskId, System.Guid listId)
        {
            this.GetWorkflowTaskDataAsync(item, taskId, listId, null);
        }

        /// <remarks/>
        public void GetWorkflowTaskDataAsync(string item, int taskId, System.Guid listId, object userState)
        {
            if ((this.getWorkflowTaskDataOperationCompleted == null))
            {
                this.getWorkflowTaskDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWorkflowTaskDataOperationCompleted);
            }
            this.InvokeAsync("GetWorkflowTaskData", new object[] {
                    item,
                    taskId,
                    listId}, this.getWorkflowTaskDataOperationCompleted, userState);
        }

        private void OnGetWorkflowTaskDataOperationCompleted(object arg)
        {
            if ((this.GetWorkflowTaskDataCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetWorkflowTaskDataCompleted(this, new GetWorkflowTaskDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        public new void CancelAsync(object userState)
        {
            base.CancelAsync(userState);
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void GetToDosForItemCompletedEventHandler(object sender, GetToDosForItemCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetToDosForItemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal GetToDosForItemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void GetTemplatesForItemCompletedEventHandler(object sender, GetTemplatesForItemCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetTemplatesForItemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal GetTemplatesForItemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void StartWorkflowCompletedEventHandler(object sender, StartWorkflowCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class StartWorkflowCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal StartWorkflowCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void AlterToDoCompletedEventHandler(object sender, AlterToDoCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AlterToDoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal AlterToDoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void GetWorkflowDataForItemCompletedEventHandler(object sender, GetWorkflowDataForItemCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetWorkflowDataForItemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal GetWorkflowDataForItemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void ClaimReleaseTaskCompletedEventHandler(object sender, ClaimReleaseTaskCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ClaimReleaseTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal ClaimReleaseTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    public delegate void GetWorkflowTaskDataCompletedEventHandler(object sender, GetWorkflowTaskDataCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetWorkflowTaskDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal GetWorkflowTaskDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState)
            :
                base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public System.Xml.XmlNode Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((System.Xml.XmlNode)(this.results[0]));
            }
        }
    }
}

